Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_pan_manipulator.h File Reference

Pan manipulator. More...

Functions

kzsError kzuPanManipulatorCreate (const struct KzcMemoryManager *memoryManager, struct KzuPropertyManager *propertyManager, struct KzuInputManipulator **out_inputManipulator)
 Create pan gesture manipulator. More...
 
kzsError kzuPanManipulatorSetRecognitionThreshold (struct KzuInputManipulator *inputManipulator, kzFloat thresholdX, kzFloat thresholdY)
 Set the threshold the finger has to move before pan is recognized. More...
 

Detailed Description

Pan manipulator.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuPanManipulatorCreate ( const struct KzcMemoryManager memoryManager,
struct KzuPropertyManager *  propertyManager,
struct KzuInputManipulator **  out_inputManipulator 
)

Create pan gesture manipulator.

kzsError kzuPanManipulatorSetRecognitionThreshold ( struct KzuInputManipulator inputManipulator,
kzFloat  thresholdX,
kzFloat  thresholdY 
)

Set the threshold the finger has to move before pan is recognized.

Default is 5 screen units in either direction.